<!DOCTYPE html>
<html lang=ch>
<head>
    <meta charset="UTF-8">
    <title>添加作业</title>
    <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <link rel="stylesheet" href="../../public/sui/css/sm.css">
    <script src="../../public/sui/js/zepto.js"></script>
    <script src="../../public/js/jquery-3.3.1.min.js"></script>
    <script>
        window.$$=window.Zepto = Zepto;
    </script>
    <script src="../../public/sui/js/sm.js"></script>
    <style>
        .pm p{
            text-align: center;
        }
    </style>
</head>
<body>
<div class="page-group">
    <div class="page">
        <header class="bar bar-nav">
            <a class="icon icon-left pull-left" onclick="window.history.go(-1)"></a>
            <h1 class="title">添加作业</h1>
            <a class="icon icon-menu pull-right open-panel"></a>
        </header>
        <div class="content">
            <div class="list-block">
                <form id="add_homework_form">
                    <ul>
                        <li>
                            <div class="item-content">
                                <div class="item-inner">
                                    <div class="item-title label">标题</div>
                                    <div class="item-input">
                                        <input type="text" name="title" placeholder="作业标题">
                                    </div>
                                </div>
                            </div>
                        </li>
                        <li>
                            <div class="item-content">
                                <div class="item-inner">
                                    <div class="item-title label">描述</div>
                                    <div class="item-input">
                                        <input type="text" name="notice" placeholder="描述">
                                    </div>
                                </div>
                            </div>
                        </li>
                        <li>
                            <div class="item-content">
                                <div class="item-inner">
                                    <div class="item-title label">章节</div>
                                    <div class="item-input">
                                        <select name="sec">
                                            <option value="">空</option>
                                        </select>
                                    </div>
                                </div>
                            </div>
                        </li>
                        <li>
                            <div class="item-content">
                                <div class="item-inner">
                                    <div class="item-title label">小节</div>
                                    <div class="item-input">
                                        <select name="sub">
                                            <option value="">空</option>
                                        </select>
                                    </div>
                                </div>
                            </div>
                        </li>
                        <li>
                            <div class="item-content">
                                <div class="item-inner">
                                    <div class="item-title label">附件</div>
                                    <div class="item-input">
                                        <input type="file" name="attach" placeholder="附件">
                                    </div>
                                </div>
                            </div>
                        </li>
                        <li>
                            <div class="item-content">
                                <div class="item-inner">
                                    <div class="item-title label">答案</div>
                                    <div class="item-input">
                                        <input type="file" name="answer" placeholder="答案">
                                    </div>
                                </div>
                            </div>
                        </li>
                        <li>
                            <div class="item-content">
                                <div class="item-inner">
                                    <div class="item-title label">期限</div>
                                    <div class="item-input">
                                        <input type="text" id='datetime-picker' name="deadline"/>
                                    </div>
                                </div>
                            </div>
                        </li>
                    </ul>
                </form>
            </div>
            <div class="content-block">
                <div class="login_box">
                    <a class="button button-big button-fill button-success" id="btn_add">发布</a>
                </div>
            </div>
        </div>
    </div>
</div>
<div class="panel panel-right panel-reveal">
    <div class="content-block pm">
        <p>菜单</p>
        <p><a class="close-panel" href="class.html">班级</a></p>
        <p><a class="close-panel" href="message.html">消息</a></p>
        <p><a class="close-panel" id="logout">注销</a></p>
        <p><a class="close-panel" href="me.html">个人中心</a></p>
        <p><a class="close-panel">关闭菜单</a></p>
    </div>
</div>
</body>
</html>
<script src="../js/islogin.js"></script>
<script src="../js/add_homework.js"></script>
<script src="../js/logout.js"></script>
<script>
    $$.init();
    $$('#datetime-picker').datetimePicker({});
</script>